ColorDepth

This property returns and sets the color depth (in bits per pixel 1, 4, 8, or 24) of the imaG image.

Syntax: imaG.ColorDepth = colordepth (constant)
Constants: caColorDepthConstants

The DRAW MODE UNDO/REDO Buffers will be cleared.

See also ColorCount , Color & Palettes , GetPalColorCount